package com.example.teststart.controller;

import com.alibaba.fastjson.JSON;

import java.util.*;

public class Test {
    public static void main(String[] args) {
        List<Map> list = new ArrayList<>();
        Map<String,String> map = new HashMap<>();
        map.put("1","11");
        list.add(map);
        map = new HashMap<>();
        map.put("2","2");
        list.add(map);
        if(list instanceof LinkedList){
            System.out.println(true);
        }
        System.out.println(JSON.toJSONString(list));
     }

}
